#include "Rectangle.h"

Rectangle::Rectangle(int width, int height)
{
	this->width = width;
	this->height = height;

}

int Rectangle::getWidth()
{
	return width;
}

void Rectangle::setWidth(int width)
{
	this->width = width;
}

int Rectangle::getHeight()
{
	return height;
}

void Rectangle::setHeight(int height)
{
	this->height = height;
}

Rectangle::Rectangle(Rectangle & rect)
{
	this->width = rect.getWidth();
	this->height = 2;
}